<!--
 * @Description: 布局应用
 * @Author: charles
 * @Date: 2021-08-16 11:33:06
 * @LastEditors: charles
 * @LastEditTime: 2021-08-16 11:54:02
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>布局应用-模态框</title>
  <style>
    body {
      margin: 0;
    }
    
    .content {
      min-height: 5000px;
    }
    .dialog_container {
      display: none;
      position: fixed;
      width: 100%;
      top: 0;
      bottom: 0;
      background-color: rgb(0, 0, 0,.5);

    }
    .dialog_container .dialog {
      position: absolute;
      top: 100px;
      background-color: #fff;
      width: 400px;
      text-align: center;
      left: 50%;
      margin-left: -200px;
      min-height: 300px;
      border-radius: 5px;
    }
    .footer {
      line-height: 200px;
    }
    .container:hover > .dialog_container{
      display: block
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <h2>网易严选</h2>
    </div>
    <div class="content"></div>
    <div class="footer">
      版权信息
    </div>

    <div class="dialog_container">
      <div class="dialog">
        <div class="dialog_header">关闭</div>
        <div class="dialog_content">二维码</div>
        <div class="dialog_footer">遇到问题？</div>
      </div>
    </div>

  </div>
</body>
</html>
